<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>aksdjfskj</h1>
</body>
<script>
  function finPdf(){
    window.open( "http://localhost:9310/inspection/report/show/pdf", "_self","top=200,left=200,height=600,width=800,status=yes,toolbar=1,menubar=no,location=no,scrollbars=yes");
  }
  finPdf();
</script>
</html>